/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pos.Driving;

import pos.Driving.Camera.Camera;
import pos.ICommand;

/**
 *
 * @author 郑昊
 */
public class CommandSetCameraFollowingType implements ICommand{
    private Camera receiver;

    public CommandSetCameraFollowingType(Camera receiver) {
        this.receiver = receiver;
    }

    @Override
    public Object execute(Object Param) {
        receiver.setFollowing_type((Integer)Param);
        return null;
    }
    
}
